package com.css.zfzx.fxpg.modules.economicloss.probability.viewobjects;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

/**
 * @author andy
 * @date 2020-12-08
 */
@Data
public class FxEconomyLossProbabilityComputeVO implements Serializable, IExcelDataModel, IExcelModel {

    /**
     * 破坏程度:基本完好 轻微破坏 中等破坏 严重破坏 倒塌
     */
    @NotNull(message = "缺失")
    @Excel(name = "破坏程度", width = 15,orderNum = "3")
    private String damageDegree;
    /**
     * 拟合概率计算值(p)
     */
    @NotNull(message = "缺失")
    @Excel(name = "拟合概率计算值(p)", width = 15,orderNum = "4")
    private Double fitedProbability;
    /**
     * 市
     */
    @NotNull(message = "缺失")
    @Excel(name = "市", width = 15,orderNum = "1")
    private String city;
    /**
     * 期望
     */
    @NotNull(message = "缺失")
    @Excel(name = "期望", width = 15,orderNum = "10")
    private Double expectation;
    /**
     * 概率-修正值
     */
    @NotNull(message = "缺失")
    @Excel(name = "概率-修正值", width = 15,orderNum = "9")
    private Double correctedProbability;
    /**
     * 区/县
     */
    @NotNull(message = "缺失")
    @Excel(name = "区/县", width = 15,orderNum = "2")
    private String area;
    /**
     * 省
     */
    @NotNull(message = "缺失")
    @Excel(name = "省", width = 15,orderNum = "0")
    private String province;
    /**
     * 是否有效,0:无效,1:有效
     */
    private String isValid;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;
    /**
     * 期望-修正值
     */
    @NotNull(message = "缺失")
    @Excel(name = "期望-修正值", width = 15,orderNum = "6")
    private Double correctedExpectation;
    /**
     * 经济损失-计算（万元）
     */
    @NotNull(message = "缺失")
    @Excel(name = "经济损失-计算（万元）", width = 15,orderNum = "5")
    private Double economicLoss;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 分区标识
     */
    private String partitionFlag;
    /**
     * 主键id
     */
    private String id;
    /**
     * 行政区划组合编码+探槽码
     */
    private String objectCode;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
    /**
     * 修改人
     */
    private String updateUser;

    private String provinceName;
    private String cityName;
    private String areaName;
    private String damageDegreeName;

    private Integer rowNum;
    private String errorMsg;
}